package com.bbzn.device.client.dao.strategy;

import com.bbzn.device.client.dataobject.NbOrderStrategy;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NbOrderStrategyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(NbOrderStrategy record);

    int insertOrUpdate(NbOrderStrategy record);

    int insertOrUpdateSelective(NbOrderStrategy record);

    int insertSelective(NbOrderStrategy record);

    NbOrderStrategy selectByPrimaryKey(Integer id);

    NbOrderStrategy findByChannelCode(@Param("channelCode") Integer channelCode);

    int updateByPrimaryKeySelective(NbOrderStrategy record);

    int updateByPrimaryKey(NbOrderStrategy record);

    List<NbOrderStrategy> findByAll(NbOrderStrategy nbOrderStrategy);

    int updateBatch(List<NbOrderStrategy> list);

    int updateBatchSelective(List<NbOrderStrategy> list);

    int batchInsert(@Param("list") List<NbOrderStrategy> list);
}